package grape.wx.rest.mp.user.vo;
import grape.common.rest.vo.BaseIdVo;

import grape.common.service.trans.TransBy;
import grape.common.service.trans.impl.DatetimeTransServiceImpl;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 公众号微信用户位置记录表
 * </p>
 *
 * @author yangwei
 * @since 2020-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="公众号微信用户位置记录表数据响应对象")
public class MpUserLocationRecordVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "微信用户id")
    private String wxUserId;

    @ApiModelProperty(value = "语言")
    private String language;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "经纬度精度")
    private String precisions;

    @ApiModelProperty(value = "地理位置描述")
    private String lacationDesc;

    @ApiModelProperty(value = "创建时间")
    private Long createAt;

    @TransBy(type = DatetimeTransServiceImpl.trans_datetime,byFieldName = "createAt")
    @ApiModelProperty(value = "创建时间，文本")
    private String createAtTxt;
}
